//
//  Note.m
//  Grammar
//
//  Created by Rick on 7/11/13.
//
//

#import "Note.h"

@implementation Note

- (NSDictionary*)attributeMapDictionary
{
    return @{@"noteId": @"id"
             ,@"grammarId": @"grammarId"
             ,@"notetype": @"type"
             ,@"content": @"content"
             ,@"version": @"version"
             ,@"lastOperate ": @"lastOperate"
             ,@"noteCreateTimeStamp": @"noteCreateTime"
             ,@"image":@"image"
             ,@"isSynced":@"isSynced"};
}

- (void)dealloc
{
    [_isSynced release];
    [_noteId release];
    [_grammarId release];
    [_notetype release];
    [_content release];
    [_version release];
    [_lastOperate release];
    [_noteCreateTimeStamp release];
    [_image release];
    [super dealloc];
}
@end
